All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.realm.dump
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----sun.server.realm.dump
- public class dump
- extends HttpServlet
This class dumps realm data, using either the application interface
(invoke a static main method) or an HTTP servlet interface.
By default it dumps all the data in all of the realms. Options may
be used to control what data is dumped. There is no default realm,
though many sites are expected to want to use only a single realm.
Options supported by the application interface are:
-html |
The output of this command is a single HTML document. |
-realm realmName |
Dumps only the named realm. |
-acls |
Dumps acls in the selected domain(s). |
-groups |
Dumps groups in the selected domain(s). |
-users |
Dumps users in the selected domain(s). |
-
dump()
-
-
doCommand(String[], PrintStream)
- General purpose entry to the realm dumping facility.
-
doGet(HttpServletRequest, HttpServletResponse)
- HTTP GET operations sent to this servlet producs a form which
may be used to control which realm is being looked at.
-
doPost(HttpServletRequest, HttpServletResponse)
- POSTing to this servlet uses form data to provide a detailed
look at a single realm.
-
main(String[])
- Standard command line entry point; the command line options
are processed, and output is generated on the command's standard
output stream.
dump
public dump()
main
public static void main(String argv[])
- Standard command line entry point; the command line options
are processed, and output is generated on the command's standard
output stream.
- Parameters:
- argv - command line argument vector
doCommand
public void doCommand(String argv[],
PrintStream out) throws IOException
- General purpose entry to the realm dumping facility.
- Parameters:
- argv - command line argument vector
- out - where to emit the text.
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws IOException
- HTTP GET operations sent to this servlet producs a form which
may be used to control which realm is being looked at.
- Overrides:
- doGet in class HttpServlet
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws IOException
- POSTing to this servlet uses form data to provide a detailed
look at a single realm.
- Overrides:
- doPost in class HttpServlet
All Packages Class Hierarchy This Package Previous Next Index